package edu.tgc.entity.code;

import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Entity;

import edu.tgc.entity.system.BaseEntity;

@Entity
public class TbCounter extends BaseEntity {
    /**
     *
     */
    private static final long serialVersionUID = -4243995720708381059L;
    private Integer fileType;// 1:工程造价，2：预算评审，3：合同编号
    private Integer num;
    private String prefix;
    private Integer year;

    public TbCounter() {
        super();
    }

    public TbCounter(UUID id) {
        super(id);
    }

    public Integer getFileType() {
        return this.fileType;
    }

    public Integer getNum() {
        return this.num;
    }

    @Column(length = 10)
    public String getPrefix() {
        return this.prefix;
    }

    public Integer getYear() {
        return this.year;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

}
